$OpenBSD: patch-js_src_nanojit_Assembler_cpp,v 1.2 2015/07/19 02:06:30 ajacoutot Exp $

Allows debug build on !i386.

--- js/src/nanojit/Assembler.cpp.orig	Tue Oct 26 23:36:11 2010
+++ js/src/nanojit/Assembler.cpp	Tue Oct 26 23:37:38 2010
@@ -1223,10 +1223,12 @@ namespace nanojit
                     countlir_label();
                     LabelState *label = _labels.get(ins);
                     // add profiling inc, if necessary.
+#ifdef NANOJIT_IA32
                     verbose_only( if (_logc->lcbits & LC_FragProfile) {
                         if (ins == _thisfrag->loopLabel)
                             asm_inc_m32(& _thisfrag->profCount);
                     })
+#endif
                     if (!label) {
                         // label seen first, normal target of forward jump, save addr & allocator
                         _labels.add(ins, _nIns, _allocator);
